package o;

import androidx.annotation.FloatRange;

public final class lx {
    public static final lx ˊ = new lx();
    public static final lx ˋ = new lx();
    public static final lx ˎ = new lx();
    public static final lx ˏ = new lx();
    public static final lx ॱ = new lx();
    public static final lx ॱॱ = new lx();
    final float[] ʻ = new float[3];
    boolean ʼ = true;
    final float[] ʽ = new float[3];
    final float[] ᐝ = new float[3];

    static {
        ˋ(ˎ);
        ॱ(ˎ);
        ˊ(ˊ);
        ॱ(ˊ);
        ˏ(ˏ);
        ॱ(ˏ);
        ˋ(ˋ);
        ˎ(ˋ);
        ˊ(ॱ);
        ˎ(ॱ);
        ˏ(ॱॱ);
        ˎ(ॱॱ);
    }

    lx() {
        ˋ(this.ʻ);
        ˋ(this.ʽ);
        ˊॱ();
    }

    @FloatRange(from = 0.0d, to = 1.0d)
    public float ˎ() {
        return this.ʻ[0];
    }

    @FloatRange(from = 0.0d, to = 1.0d)
    public float ˋ() {
        return this.ʻ[1];
    }

    @FloatRange(from = 0.0d, to = 1.0d)
    public float ˏ() {
        return this.ʻ[2];
    }

    @FloatRange(from = 0.0d, to = 1.0d)
    public float ॱ() {
        return this.ʽ[0];
    }

    @FloatRange(from = 0.0d, to = 1.0d)
    public float ˊ() {
        return this.ʽ[1];
    }

    @FloatRange(from = 0.0d, to = 1.0d)
    public float ʼ() {
        return this.ʽ[2];
    }

    public float ʻ() {
        return this.ᐝ[0];
    }

    public float ᐝ() {
        return this.ᐝ[1];
    }

    public float ʽ() {
        return this.ᐝ[2];
    }

    public boolean ॱॱ() {
        return this.ʼ;
    }

    private static void ˋ(float[] fArr) {
        fArr[0] = 0.0f;
        fArr[1] = 0.5f;
        fArr[2] = 1.0f;
    }

    private void ˊॱ() {
        this.ᐝ[0] = 0.24f;
        this.ᐝ[1] = 0.52f;
        this.ᐝ[2] = 0.24f;
    }

    void ˋॱ() {
        int length;
        int i = 0;
        float f = 0.0f;
        for (float f2 : this.ᐝ) {
            if (f2 > 0.0f) {
                f += f2;
            }
        }
        if (f != 0.0f) {
            length = this.ᐝ.length;
            while (i < length) {
                if (this.ᐝ[i] > 0.0f) {
                    float[] fArr = this.ᐝ;
                    fArr[i] = fArr[i] / f;
                }
                i++;
            }
        }
    }

    private static void ˏ(lx lxVar) {
        lxVar.ʽ[1] = 0.26f;
        lxVar.ʽ[2] = 0.45f;
    }

    private static void ˊ(lx lxVar) {
        lxVar.ʽ[0] = 0.3f;
        lxVar.ʽ[1] = 0.5f;
        lxVar.ʽ[2] = 0.7f;
    }

    private static void ˋ(lx lxVar) {
        lxVar.ʽ[0] = 0.55f;
        lxVar.ʽ[1] = 0.74f;
    }

    private static void ॱ(lx lxVar) {
        lxVar.ʻ[0] = 0.35f;
        lxVar.ʻ[1] = 1.0f;
    }

    private static void ˎ(lx lxVar) {
        lxVar.ʻ[1] = 0.3f;
        lxVar.ʻ[2] = 0.4f;
    }
}
